package com.lemon.boot.service;

import com.lemon.boot.po.NoticePO;
import com.lemon.boot.dto.NoticeDTO;
import com.lemon.boot.common.base.BaseService;

import java.util.List;
import java.util.Map;

/**
 * 通知公告表 业务接口
 *
 * @author Lemon
 * @since 2024-02-29
 */
public interface INoticeService extends BaseService<NoticePO, NoticeDTO> {
    long getCountByUserId(Long userId, Integer isRead);

    Map<Long, Long> getCountByUserId(List<Long> userIdList);
}